package com.fivestar.finance.app.ui.main;

import com.fivestar.finance.app.injector.components.ApplicationComponent;
import com.fivestar.finance.app.injector.module.ActivityModule;
import com.fivestar.finance.app.injector.scope.ActivityScope;
import com.fivestar.finance.app.ui.box.HomeBoxFragment;
import com.fivestar.finance.app.ui.iou.IouFragment;
import com.fivestar.finance.app.ui.message.MessageFragment;

import dagger.Component;

/**
 * 简要描述
 *  
 *  @author Derek.Kidd
 * @version V1.0.0
 * @date 2016/8/23 9:30
 */
@ActivityScope
@Component(dependencies = ApplicationComponent.class, modules = {
        ActivityModule.class, MainModule.class
})
public interface MainComponent {

    void inject(MainActivity activity);

    void inject(HomeBoxFragment fragment);

    void inject(IouFragment fragment);

    void inject(MessageFragment fragment);

}
